package com.atguigu.yygh.statistics;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName ServiceStatisticsApplication
 * @Description: 类描述
 * @Author: liangxiaoqiang
 * @CreateDate: 2024/8/10 17:40
 * @UpdateUser: 更新人
 * @UpdateDate: 2024/8/10 17:40
 * @UpdateRemark: 更新的信息
 * @Version: 1.0
 */

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, RedisAutoConfiguration.class})//取消数据源自动配置
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.atguigu.yygh.order")
//@ComponentScan(basePackages = {"com.atguigu.yygh.order"})
public class ServiceStatisticsApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceStatisticsApplication.class, args);
    }
}

